namespace QLKHCN.Models.Entities
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("TienDo")]
    public partial class TienDo
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public TienDo()
        {
            CTBaoCaos = new HashSet<CTBaoCao>();
        }

        public int ID { get; set; }

        public int? NhiemVuID { get; set; }

        public int? NgayCapNhat { get; set; }

        [StringLength(50)]
        public string NoiDungTienDo { get; set; }

        public int? GiaTriQuyetToan { get; set; }

        public int? KyQuyetToanID { get; set; }

        public int? TinhTrangID { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<CTBaoCao> CTBaoCaos { get; set; }

        public virtual NhiemVu NhiemVu { get; set; }
    }
}
